﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EMR_System.Controllers
{
    public class PatientController
    {
        public static int AddPatient(Patient p)
        {
            // Create Patient Object here to pass to DatabaseSupport?
            return EMRSystem.AddPatient(p);
        }

        public static Patient GetPatient(int ID)
        {
            return EMRSystem.GetPatient(ID);
        }

        public static List<Patient> GetPatients()
        {
            return EMRSystem.GetPatients();
        }

        public static bool UpdatePatient()
        {
            return EMRSystem.UpdatePatient();
        }

        public static Patient DeletePatient()
        {
            return EMRSystem.DeletePatient();
        }
    }
}
